﻿
//using UnityEngine.Purchasing;
public class Request_UploadDetailInfo : RequestBase
{

    public const string NetRequest_UploadBaseInfo_Key = "UploadDetailInfo";

    public DetailInfoRequestData detailInfoReqData = new DetailInfoRequestData();

    protected override ISerialize requestData
    {
        get
        {
            return detailInfoReqData;
        }
    }

    public Request_UploadDetailInfo() : base()
    {
        MessagePacket.key = NetRequest_UploadBaseInfo_Key;
    }

    public override void OnSend()
    {
        base.OnSend();

        GameDebug.Log($"发送DetailInfo请求：{detailInfoReqData.userDetailInfoData}");
    }

    public override ResponseData NewResponseData() => new ResponseData();
    //public override ResponseBase GetResponseHandler()
    //{
    //    return new Response_UploadDetailInfo();
    //}
}

//public class Response_UploadDetailInfo : ResponseBase
//{
//    public override ResponseData NewResponseData() => new ResponseData();

//    public override void Excuate()
//    {
//        var request = this.request as Request_UploadDetailInfo;

//        if (request.onResponse != null)
//            request.onResponse(this);
//    }

//}
